home *** CD-ROM | disk | FTP | other *** search
- ;; files.mut: sequencally load the files specified on the command line
- ;; If ^U used, tries to load that many files.
-
- (int nth-file) ; file to load next
-
- (defun
- next-file
- {
- (int n)
-
- (n (arg-prefix))
- (while (>= (-= n 1) 0)
- (if (< nth-file (argc))
- {
- (visit-file (argv nth-file))
- (delete-other-windows)
- (+= nth-file 1)
- }
- { (msg "All files read in.")(done) }
- )
- )
- }
- MAIN { (nth-file 1) }
- )
-